home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GameStar 2005 March
/
Gamestar_71_2005-03_dvd.iso
/
Dema
/
willofsteel_demo.exe
/
{app}
/
Data
/
gui
/
ingame.gui
< prev
next >
Wrap
Text File
|
2004-12-18
|
48KB
|
1,645 lines
-- --------------------------------------------------- COMPONENT ID
ID_BUTTON = 0
ID_RADIO_BUTTON = 1
ID_CHK_BOX = 2
ID_EDIT_BOX = 3
ID_LIST = 4
ID_TEXT_BOX = 5
ID_PICTURE_BOX = 6
ID_FRAME = 7
ID_SCROLL = 8
ID_PROGRESSBAR = 9
ID_SLIDEMENU = 10
ID_COMPASS = 11
ID_MINIMAP = 12
ID_SELECTIONBOX = 13
ID_TABLECC = 14
ID_POOLFRAME = 15
ID_SOLDIERPOOL_ELEM = 16
ID_VEHICLEPOOL_ELEM = 17
-- --------------------------------------------------- PGUITextBox type
PGUI_SINGLELINE_TEXT = 0
PGUI_MULTILINE_TEXT = 1
PGUI_FILENAME = 2
PGUI_SIGNED_INTEGER = 3
PGUI_UNSIGNED_INTEGER = 4
PGUI_FLOAT = 5
-- --------------------------------------------------- MESAGE ID
PGUI_1STBUTTON_DOWN = 0
PGUI_1STBUTTON_UP = 1
PGUI_1STBUTTON_CLCK = 2
PGUI_1STBUTTON_DBLCLCK = 3
PGUI_1STBUTTON_DRAG = 4
PGUI_1STBUTTON_DROP = 5
PGUI_2NDBUTTON_DOWN = 6
PGUI_2NDBUTTON_UP = 7
PGUI_2NDBUTTON_CLCK = 8
PGUI_2NDBUTTON_DBLCLCK = 9
PGUI_2NDBUTTON_DRAG = 10
PGUI_2NDBUTTON_DROP = 11
PGUI_POINTER_MOVE = 12
PGUI_POINTER_HOVER = 13
PGUI_POINTER_LEAVE = 14
PGUI_POINTER_DRAG_HOVER = 15
PGUI_POINTER_DRAG_LEAVE = 16
PGUI_CHAR_PRESSED = 17
PGUI_KEY_PRESSED = 18
PGUI_VALUE_CHANGED = 19
PGUI_RELEASE_FOCUS = 20
PGUI_INITIALISATION = 21
PGUI_ANIMATION_FINISHED = 22
-- -------------------------------------------- PGUISelectionBox child types
PGUI_SB_GROUPED_FRAME = 1
PGUI_SB_UNGROUPED_FRAME = 2
PGUI_SB_DETAILED_FRAME = 3
PGUI_SB_SMALL_PCT = 4
PGUI_SB_BIG_PCT = 5
PGUI_SB_HEALTH_BAR = 6
PGUI_SB_HEALTH_TEXT = 7
PGUI_SB_ARMOUR_BAR = 8
PGUI_SB_ARMOUR_TEXT = 9
PGUI_SB_VIEWRANGE_BAR = 10
PGUI_SB_VIEWRANGE_TEXT = 11
PGUI_SB_MAXSPEED_BAR = 12
PGUI_SB_MAXSPEED_TEXT = 13
PGUI_SB_VETERANCY_BAR = 14
PGUI_SB_VETERANCY_TEXT = 15
PGUI_SB_WEAPONDMG_1ST = 16
PGUI_SB_WEAPONDMG_1_TEXT = 17
PGUI_SB_WEAPONDMG_2ND = 18
PGUI_SB_WEAPONDMG_2_TEXT = 19
PGUI_SB_WEAPONRANGE_1ST = 20
PGUI_SB_WEAPONRANGE_1_TEXT = 21
PGUI_SB_WEAPONRANGE_2ND = 22
PGUI_SB_WEAPONRANGE_2_TEXT = 23
PGUI_SB_WEAPONACC_1ST = 24
PGUI_SB_WEAPONACC_1_TEXT = 25
PGUI_SB_WEAPONACC_2ND = 26
PGUI_SB_WEAPONACC_2_TEXT = 27
PGUI_SB_WEAPONAMMO_1ST = 28
PGUI_SB_WEAPONAMMO_1_TEXT = 29
PGUI_SB_WEAPONAMMO_2ND = 30
PGUI_SB_WEAPONAMMO_2_TEXT = 31
PGUI_SB_FIREMODE_TEXT = 32
PGUI_SB_MOVEMODE_TEXT = 33
-- ---------------------------------------------------
PGUI_FONT_WIDTH = 6
PGUI_FONT_HEIGHT = 10
-- ---------------------------------------------------
CreateGUI("InGame");
id=GUIADDCONTROL {
Parent = 0,
Name = "Frame",
ControlType= ID_FRAME,
BoundRect = {0,563,1024,768},
Texture = "GUI/ingamegui.dds",
Rec1STTexture = {0,0,1024,205},
MESSAGE_MAP = {
{PGUI_INITIALISATION, "INGAMEGUIID"},
},
};
GUIADDCONTROL {
Parent = id,
Name = "Frame",
ControlType= ID_FRAME,
BoundRect = {825,24,1024,205},
Texture = "GUI/ingamegui.dds",
Rec1STTexture = {825,24,1024,205},
};
GUIADDCONTROL {
Parent = id,
Name = "MapView",
ControlType= ID_MINIMAP,
BoundRect = {21,16,178,173},
Texture = "GUI/minimap.dds",
Rec1STTexture = {0,0,157,157},
MESSAGE_MAP = {
{PGUI_INITIALISATION , "MAP"},
},
};
compass = GUIADDCONTROL {
Parent = id,
Name = "CompassView",
ControlType= ID_FRAME,
BoundRect = {21,16,178,173},
Texture = "GUI/ingamegui.dds",
Rec1STTexture = {0,205,157,362},
SecRect = {572+8,217,589,343},
MESSAGE_MAP = {
{PGUI_INITIALISATION , "COMPASS"},
},
};
MapButton=GUIADDCONTROL {
Parent = id,
Name = "Map",
ControlType= ID_RADIO_BUTTON ,
BoundRect = {20, 740-563, 82, 762-563},
Texture = "GUI/ingamegui.dds",
Title = "Map",
ToolTip = "Show mini map",
Rec1STTexture = {20, 740-563, 82, 762-563},
Rec2NDTexture = {530, 206, 589, 228},
Rec3RDTexture = {530, 252, 589, 274},
Rec4THTexture = {530, 252, 589, 274},
MESSAGE_MAP = {
{PGUI_INITIALISATION, "INITCOMPASS"},
{PGUI_VALUE_CHANGED, "COMPASS"},
},
};
GUIADDCONTROL {
Parent = id,
Name = "Compass",
ControlType= ID_RADIO_BUTTON,
MessageParentID = MapButton,
BoundRect = {83, 740-563, 179, 762-563},
Texture = "GUI/ingamegui.dds",
Title = "Compass",
ToolTip = "Show tactical menu",
Rec1STTexture = {83, 740-563, 179, 762-563},
Rec2NDTexture = {496, 229, 589, 251},
Rec3RDTexture = {496, 275, 589, 297},
Rec4THTexture = {496, 275, 589, 297},
MESSAGE_MAP = {
{PGUI_INITIALISATION, "INITCOMPASS2"},
{PGUI_VALUE_CHANGED, "MAP"},
},
};
--#############
ComandFrame=GUIADDCONTROL {
Parent = id,
Name = "ComandsMenu",
ControlType= ID_FRAME,
BoundRect = {828,31,1016,174},
Texture = "GUI/ingamegui.dds",
Rec1STTexture = {828,31,1016,174},
MESSAGE_MAP = {
{PGUI_INITIALISATION , "INITACTION"},
},
};
GUIADDCONTROL {
Parent = ComandFrame,
Name = "cmdMove",
ControlType= ID_BUTTON,
BoundRect = {0,0,47,35},
Texture = "GUI/cmdButtons.dds",
Title = "cmdMove",
ToolTip = "Move",
Rec1STTexture = {0,0,47,35},
Rec2NDTexture = {0,0+143,47,35+143},
Rec3RDTexture = {0+189,0,47+189,35},
Rec4THTexture = {0+189,0+143,47+189,35+143},
MESSAGE_MAP = {
{PGUI_1STBUTTON_CLCK, "CMDMOVE"},
},
};
GUIADDCONTROL {
Parent = ComandFrame,
Name = "cmdStop",
ControlType= ID_BUTTON,
BoundRect = {0+47,0,47+47,35},
Texture = "GUI/cmdButtons.dds",
Title = "cmdStop",
ToolTip = "Stop",
Rec1STTexture = {0+47,0,47+47,35},
Rec2NDTexture = {0+47,0+143,47+47,35+143},
Rec3RDTexture = {0+189+47,0,47+189+47,35},
Rec4THTexture = {0+189+47,0+143,47+189+47,35+143},
MESSAGE_MAP = {
{PGUI_1STBUTTON_CLCK, "CMDSTOP", 0, 31},
},
};
GUIADDCONTROL {
Parent = ComandFrame,
Name = "cmdAttack",
ControlType= ID_BUTTON,
BoundRect = {0+47+47,0,47+47+47,35},
Texture = "GUI/cmdButtons.dds",
Title = "cmdAttack",
ToolTip = "Attack",
Rec1STTexture = {0+47+47,0,47+47+47,35},
Rec2NDTexture = {0+47+47,0+143,47+47+47,35+143},
Rec3RDTexture = {0+189+47+47,0,47+189+47+47,35},
Rec4THTexture = {0+189+47+47,0+143,47+189+47+47,35+143},
MESSAGE_MAP = {
{PGUI_1STBUTTON_CLCK , "CMDATTACK", 0, 30},
},
};
GUIADDCONTROL {
Parent = ComandFrame,
Name = "cmdGuard",
ControlType= ID_BUTTON,
BoundRect = {0+47+47+47,0,47+47+47+47,35},
Texture = "GUI/cmdButtons.dds",
Title = "cmdGuard",
ToolTip = "Guard",
Rec1STTexture = {0+47+47+47,0,47+47+47+47,35},
Rec2NDTexture = {0+47+47+47,0+143,47+47+47+47,35+143},
Rec3RDTexture = {0+189+47+47+47,0,47+189+47+47+47,35},
Rec4THTexture = {0+189+47+47+47,0+143,47+189+47+47+47,35+143},
MESSAGE_MAP = {
{PGUI_1STBUTTON_CLCK , "CMDGUARD", 0, 34},
},
};
GUIADDCONTROL {
Parent = ComandFrame,
Name = "cmdEnter",
ControlType= ID_BUTTON,
BoundRect = {0,0+36,47,35+36},
Texture = "GUI/cmdButtons.dds",
Title = "cmdEnter",
ToolTip = "Enter",
Rec1STTexture = {0,0+36,47,35+36},
Rec2NDTexture = {0,0+143+36,47,35+143+36},
Rec3RDTexture = {0+189,0+36,47+189,35+36},
Rec4THTexture = {0+189,0+143+36,47+189,35+143+36},
MESSAGE_MAP = {
{PGUI_1STBUTTON_CLCK, "CMDENTER", 0, 18},
},
};
GUIADDCONTROL {
Parent = ComandFrame,
Name = "cmdExit",
ControlType= ID_BUTTON,
BoundRect = {0+47,0+36,47+47,35+36},
Texture = "GUI/cmdButtons.dds",
Title = "cmdExit",
ToolTip = "Exit",
Rec1STTexture = {0+47,0+36,47+47,35+36},
Rec2NDTexture = {0+47,0+143+36,47+47,35+143+36},
Rec3RDTexture = {0+189+47,0+36,47+189+47,35+36},
Rec4THTexture = {0+189+47,0+143+36,47+189+47,35+143+36},
MESSAGE_MAP = {
{PGUI_1STBUTTON_CLCK, "CMDEXIT", 0, 45},
},
};
GUIADDCONTROL {
Parent = ComandFrame,
Name = "cmdHeal",
ControlType= ID_BUTTON,
BoundRect = {0+47+47,0+36,47+47+47,35+36},
Texture = "GUI/cmdButtons.dds",
Title = "cmdHeal",
ToolTip = "Heal",
Rec1STTexture = {0+47+47,0+36,47+47+47,35+36},
Rec2NDTexture = {0+47+47,0+143+36,47+47+47,35+143+36},
Rec3RDTexture = {0+189+47+47,0+36,47+189+47+47,35+36},
Rec4THTexture = {0+189+47+47,0+143+36,47+189+47+47,35+143+36},
MESSAGE_MAP = {
{PGUI_1STBUTTON_CLCK , "CMDHEAL", 0, 35},
},
};
GUIADDCONTROL {
Parent = ComandFrame,
Name = "cmdRepair",
ControlType= ID_BUTTON,
BoundRect = {0+47+47+47,0+36,47+47+47+47,35+36},
Texture = "GUI/cmdButtons.dds",
Title = "cmdRepair",
ToolTip = "Repair/Capture",
Rec1STTexture = {0+47+47+47,0+36,47+47+47+47,35+36},
Rec2NDTexture = {0+47+47+47,0+143+36,47+47+47+47,35+143+36},
Rec3RDTexture = {0+189+47+47+47,0+36,47+189+47+47+47,35+36},
Rec4THTexture = {0+189+47+47+47,0+143+36,47+189+47+47+47,35+143+36},
MESSAGE_MAP = {
{PGUI_1STBUTTON_CLCK , "CMDREPAIR", 0, 19},
},
};
GUIADDCONTROL {
Parent = ComandFrame,
Name = "cmdTimeBomb",
ControlType= ID_BUTTON,
BoundRect = {0,0+36+36,47,35+36+36},
Texture = "GUI/cmdButtons.dds",
Title = "cmdTimeBomb",
ToolTip = "Time Explosive",
Rec1STTexture = {0,0+36+36,47,35+36+36},
Rec2NDTexture = {0,0+143+36+36,47,35+143+36+36},
Rec3RDTexture = {0+189,0+36+36,47+189,35+36+36},
Rec4THTexture = {0+189,0+143+36+36,47+189,35+143+36+36},
MESSAGE_MAP = {
{PGUI_1STBUTTON_CLCK, "CMDTIMEBOMB", 0, 38},
},
};
GUIADDCONTROL {
Parent = ComandFrame,
Name = "cmdRadioBomb",
ControlType= ID_BUTTON,
BoundRect = {0+47,0+36+36,47+47,35+36+36},
Texture = "GUI/cmdButtons.dds",
Title = "cmdRadioBomb",
ToolTip = "Radio Explosive",
Rec1STTexture = {0+47,0+36+36,47+47,35+36+36},
Rec2NDTexture = {0+47,0+143+36+36,47+47,35+143+36+36},
Rec3RDTexture = {0+189+47,0+36+36,47+189+47,35+36+36},
Rec4THTexture = {0+189+47,0+143+36+36,47+189+47,35+143+36+36},
MESSAGE_MAP = {
{PGUI_1STBUTTON_CLCK, "CMDRADIOBOMB", 0, 37},
},
};
GUIADDCONTROL {
Parent = ComandFrame,
Name = "cmdGranate",
ControlType= ID_BUTTON,
BoundRect = {0+47+47,0+36+36,47+47+47,35+36+36},
Texture = "GUI/cmdButtons.dds",
Title = "cmdGranate",
ToolTip = "Hand Granade",
Rec1STTexture = {0+47+47,0+36+36,47+47+47,35+36+36},
Rec2NDTexture = {0+47+47,0+143+36+36,47+47+47,35+143+36+36},
Rec3RDTexture = {0+189+47+47,0+36+36,47+189+47+47,35+36+36},
Rec4THTexture = {0+189+47+47,0+143+36+36,47+189+47+47,35+143+36+36},
MESSAGE_MAP = {
{PGUI_1STBUTTON_CLCK , "CMDGRANATE", 0, 48},
},
};
GUIADDCONTROL {
Parent = ComandFrame,
Name = "cmdDemine",
ControlType= ID_BUTTON,
BoundRect = {0+47+47+47,0+36+36,47+47+47+47,35+36+36},
Texture = "GUI/cmdButtons.dds",
Title = "cmdDemine",
ToolTip = "Demine",
Rec1STTexture = {0+47+47+47,0+36+36,47+47+47+47,35+36+36},
Rec2NDTexture = {0+47+47+47,0+143+36+36,47+47+47+47,35+143+36+36},
Rec3RDTexture = {0+189+47+47+47,0+36+36,47+189+47+47+47,35+36+36},
Rec4THTexture = {0+189+47+47+47,0+143+36+36,47+189+47+47+47,35+143+36+36},
MESSAGE_MAP = {
{PGUI_1STBUTTON_CLCK , "CMDDEMINE", 0, 32},
},
};
GUIADDCONTROL {
Parent = ComandFrame,
Name = "cmdDeploy",
ControlType= ID_BUTTON,
BoundRect = {0,0+36+36+36,47,35+36+36+36},
Texture = "GUI/cmdButtons.dds",
Title = "cmdDeploy",
ToolTip = "Deploy",
Rec1STTexture = {0,0+36+36+36,47,35+36+36+36},
Rec2NDTexture = {0,0+143+36+36+36,47,35+143+36+36+36},
Rec3RDTexture = {0+189,0+36+36+36,47+189,35+36+36+36},
Rec4THTexture = {0+189,0+143+36+36+36,47+189,35+143+36+36+36},
MESSAGE_MAP = {
{PGUI_1STBUTTON_CLCK, "CMDDEPLOY", 0, 16},
},
};
GUIADDCONTROL {
Parent = ComandFrame,
Name = "cmdSwitch",
ControlType= ID_BUTTON,
BoundRect = {0+47+47+47,0+36+36+36,47+47+47+47,35+36+36+36},
Texture = "GUI/cmdButtons.dds",
Title = "cmdSwitch",
ToolTip = "Switch weapon",
Rec1STTexture = {0+47+47+47,0+36+36+36,47+47+47+47,35+36+36+36},
Rec2NDTexture = {0+47+47+47,0+143+36+36+36,47+47+47+47,35+143+36+36+36},
Rec3RDTexture = {0+189+47+47+47,0+36+36+36,47+189+47+47+47,35+36+36+36},
Rec4THTexture = {0+189+47+47+47,0+143+36+36+36,47+189+47+47+47,35+143+36+36+36},
MESSAGE_MAP = {
{PGUI_1STBUTTON_CLCK , "CMDSWITCH", 0, 17},
},
};
GUIADDCONTROL {
Parent = ComandFrame,
Name = "cmdStand",
ControlType= ID_BUTTON,
BoundRect = {0+47,0+36+36+36,47+31,35+36+36+36},
Texture = "GUI/cmdButtons.dds",
Title = "cmdStand",
ToolTip = "Stand",
Rec1STTexture = {0+47,0+36+36+36,47+31,35+36+36+36},
Rec2NDTexture = {0+47,0+143+36+36+36,47+31,35+143+36+36+36},
Rec3RDTexture = {0+189+47,0+36+36+36,47+189+31,35+36+36+36},
Rec4THTexture = {0+189+47,0+143+36+36+36,47+189+31,35+143+36+36+36},
MESSAGE_MAP = {
{PGUI_1STBUTTON_CLCK, "CMDSTAND", 0, 211},
},
};
GUIADDCONTROL {
Parent = ComandFrame,
Name = "cmdKneel",
ControlType= ID_BUTTON,
BoundRect = {0+47+31,0+36+36+36,47+31+31,35+36+36+36},
Texture = "GUI/cmdButtons.dds",
Title = "cmdKneel",
ToolTip = "Kneel",
Rec1STTexture = {0+47+31,0+36+36+36,47+31+31,35+36+36+36},
Rec2NDTexture = {0+47+31,0+143+36+36+36,47+31+31,35+143+36+36+36},
Rec3RDTexture = {0+189+47+31,0+36+36+36,47+189+31+31,35+36+36+36},
Rec4THTexture = {0+189+47+31,0+143+36+36+36,47+189+31+31,35+143+36+36+36},
MESSAGE_MAP = {
{PGUI_1STBUTTON_CLCK, "CMDKNEEL", 0, 207},
},
};
GUIADDCONTROL {
Parent = ComandFrame,
Name = "cmdLay",
ControlType= ID_BUTTON,
BoundRect = {0+47+31+31,0+36+36+36,47+31+31+32,35+36+36+36},
Texture = "GUI/cmdButtons.dds",
Title = "cmdLay",
ToolTip = "Lay",
Rec1STTexture = {0+47+31+31,0+36+36+36,47+31+31+32,35+36+36+36},
Rec2NDTexture = {0+47+31+31,0+143+36+36+36,47+31+31+32,35+143+36+36+36},
Rec3RDTexture = {0+189+47+31+31,0+36+36+36,47+189+31+31+32,35+36+36+36},
Rec4THTexture = {0+189+47+31+31,0+143+36+36+36,47+189+31+31+32,35+143+36+36+36},
MESSAGE_MAP = {
{PGUI_1STBUTTON_CLCK, "CMDLAY", 0, 209},
},
};
----------------------- dugmici za Tactical Menu -----------------------
GUIADDCONTROL {
Parent = compass,
Name = "FireAtWill",
ControlType= ID_BUTTON,
BoundRect = {25-21,584-16-563,75-21,618-16-563},
Texture = "GUI/ingamegui.dds",
Title = "Button 35",
ToolTip = "Fire at will",
Rec1STTexture = {5,210,55,244},
Rec2NDTexture = {160,209,211,245},
Rec3RDTexture = {317,209,368,245},
Rec4THTexture = {317,209,368,245},
MESSAGE_MAP = {
{PGUI_1STBUTTON_CLCK , "FIRE_ATWILL", 0, 210},
},
};
GUIADDCONTROL {
Parent = compass,
Name = "ReturnFire",
ControlType= ID_BUTTON,
BoundRect = {76-21,584-16-563,124-21,618-16-563},
Texture = "GUI/ingamegui.dds",
Title = "Button 36",
ToolTip = "Return fire",
Rec1STTexture = {56,210,104,244},
Rec2NDTexture = {211,209,260,245},
Rec3RDTexture = {368,209,417,245},
Rec4THTexture = {368,209,417,245},
MESSAGE_MAP = {
{PGUI_1STBUTTON_CLCK , "FIRE_RETURN", 0, 199},
},
};
GUIADDCONTROL {
Parent = compass,
Name = "HoldFire",
ControlType= ID_BUTTON,
BoundRect = {125-21,584-16-563,174-21,618-16-563},
Texture = "GUI/ingamegui.dds",
Title = "Button 36",
ToolTip = "Hold fire",
Rec1STTexture = {105,210,155,244},
Rec2NDTexture = {260,209,311,245},
Rec3RDTexture = {417,209,468,245},
Rec4THTexture = {417,209,468,245},
MESSAGE_MAP = {
{PGUI_1STBUTTON_CLCK , "FIRE_HOLD", 0, 201},
},
};
-----------------------------
GUIADDCONTROL {
Parent = compass,
Name = "Strict",
ControlType= ID_BUTTON,
BoundRect = {25-21,623-16-563,99-21,658-16-563},
Texture = "GUI/ingamegui.dds",
Title = "Button 24",
Rec1STTexture = {4,248,80,284},
Rec2NDTexture = {160,248,235,284},
Rec3RDTexture = {317,248,392,284},
Rec4THTexture = {317,248,392,284},
MESSAGE_MAP = {
{PGUI_1STBUTTON_CLCK , "MOVE_STRICT", 0, 21},
},
};
GUIADDCONTROL {
Parent = compass,
Name = "Loose",
ControlType= ID_BUTTON,
BoundRect = {99-21,623-16-563,175-21,658-16-563},
Texture = "GUI/ingamegui.dds",
Title = "Button 25",
Rec1STTexture = {80,248,158,284},
Rec2NDTexture = {235,248,311,284},
Rec3RDTexture = {392,248,468,284},
Rec4THTexture = {392,248,468,284},
MESSAGE_MAP = {
{PGUI_1STBUTTON_CLCK , "MOVE_LOOSE", 0, 22},
},
};
------------------------------
GUIADDCONTROL {
Parent = compass,
Name = "Column",
ControlType= ID_BUTTON,
BoundRect = {78-21,664-16-563,121-21,733-16-563},
Texture = "GUI/ingamegui.dds",
Title = "Button 26",
Rec1STTexture = {58,290,100,358},
Rec2NDTexture = {214,290,257,359},
Rec3RDTexture = {371,290,414,359},
Rec4THTexture = {371,290,414,359},
MESSAGE_MAP = {
{PGUI_1STBUTTON_CLCK , "FORMCOLUMN", 0, 25},
},
};
GUIADDCONTROL {
Parent = compass,
Name = "Line",
ControlType= ID_BUTTON,
BoundRect = {25-21,664-16-563,78-21,698-16-563},
Texture = "GUI/ingamegui.dds",
Title = "Button 27",
Rec1STTexture = {5,290,58,323},
Rec2NDTexture = {160,290,214,324},
Rec3RDTexture = {317,290,371,324},
Rec4THTexture = {317,290,371,324},
MESSAGE_MAP = {
{PGUI_1STBUTTON_CLCK , "FORMLINE", 0, 23},
},
};
GUIADDCONTROL {
Parent = compass,
Name = "Vee",
ControlType= ID_BUTTON,
BoundRect = {121-21,664-16-563,175-21,698-16-563},
Texture = "GUI/ingamegui.dds",
Title = "Button 28",
Rec1STTexture = {101,290,154,323},
Rec2NDTexture = {257,290,311,324},
Rec3RDTexture = {414,290,468,324},
Rec4THTexture = {414,290,468,324},
MESSAGE_MAP = {
{PGUI_1STBUTTON_CLCK , "FORMVEE", 0, 24},
},
};
GUIADDCONTROL {
Parent = compass,
Name = "Circle",
ControlType= ID_BUTTON,
BoundRect = {121-21,698-16-563,175-21,733-16-563},
Texture = "GUI/ingamegui.dds",
Title = "Button 29",
Rec1STTexture = {101,324,154,358},
Rec2NDTexture = {257,324,311,359},
Rec3RDTexture = {414,324,468,359},
Rec4THTexture = {414,324,468,359},
MESSAGE_MAP = {
{PGUI_1STBUTTON_CLCK , "FORMCIRCLE", 0, 27},
},
};
GUIADDCONTROL {
Parent = compass,
Name = "Custom",
ControlType= ID_BUTTON,
BoundRect = {25-21,698-16-563,78-21,733-16-563},
Texture = "GUI/ingamegui.dds",
Title = "Button 30",
Rec1STTexture = {5,324,57,358},
Rec2NDTexture = {160,324,214,359},
Rec3RDTexture = {317,324,371,359},
Rec4THTexture = {317,324,371,359},
MESSAGE_MAP = {
{PGUI_1STBUTTON_CLCK , "FORMTRIANGLE", 0, 26},
},
};
------------------------------------------------------------------------
--############
SpecialFrame=GUIADDCONTROL {
Parent = 0,
Name = "ComandsMenu",
ControlType= ID_FRAME,
BoundRect = {1024-50,0,1024,280},
MESSAGE_MAP = {
{PGUI_INITIALISATION , "INITSPECOP"},
},
};
GUIADDCONTROL {
Parent = SpecialFrame,
Name = "cmdAirStrike",
ControlType= ID_BUTTON,
BoundRect = {2,2,50,50},
Texture = "GUI/cmdButtons.dds",
Title = "cmdMove",
ToolTip = "Air strike",
Rec1STTexture = {0,287,47,334},
Rec2NDTexture = {0+192,287,47+192,334},
Rec3RDTexture = {0,287+96,47,334+96},
Rec4THTexture = {0,287,47,334},
MESSAGE_MAP = {
{PGUI_1STBUTTON_CLCK, "SO_AIRST"},
},
};
GUIADDCONTROL {
Parent = SpecialFrame,
Name = "cmdArtilleryStrike",
ControlType= ID_BUTTON,
BoundRect = {2,2,50,50},
Texture = "GUI/cmdButtons.dds",
Title = "cmdArtilleryStrike",
ToolTip = "Artillery strike",
Rec1STTexture = {48,287,47+48,334},
Rec2NDTexture = {48+192,287,47+48+192,334},
Rec3RDTexture = {48,287+96,47+48,334+96},
Rec4THTexture = {48,287,47+48,334},
MESSAGE_MAP = {
{PGUI_1STBUTTON_CLCK, "SO_ARTIL"},
},
};
GUIADDCONTROL {
Parent = SpecialFrame,
Name = "cmdLaserBomb",
ControlType= ID_BUTTON,
BoundRect = {2,2,50,50},
Texture = "GUI/cmdButtons.dds",
Title = "cmdLaserBomb",
ToolTip = "Laser bomb",
Rec1STTexture = {48+48,287,47+48+48,334},
Rec2NDTexture = {48+48+192,287,47+48+48+192,334},
Rec3RDTexture = {48+48,287+96,47+48+48,334+96},
Rec4THTexture = {48+48,287,47+48+48,334},
MESSAGE_MAP = {
{PGUI_1STBUTTON_CLCK, "SO_LASER"},
},
};
GUIADDCONTROL {
Parent = SpecialFrame,
Name = "cmdSatellite",
ControlType= ID_BUTTON,
BoundRect = {2,2,50,50},
Texture = "GUI/cmdButtons.dds",
Title = "cmdSatellite",
ToolTip = "Satellite recon",
Rec1STTexture = {48+48+48,287,47+48+48+48,334},
Rec2NDTexture = {48+48+48+192,287,47+48+48+48+192,334},
Rec3RDTexture = {48+48+48,287+96,47+48+48+48,334+96},
Rec4THTexture = {48+48+48,287,47+48+48+48,334},
MESSAGE_MAP = {
{PGUI_1STBUTTON_CLCK, "SO_SATEL"},
},
};
GUIADDCONTROL {
Parent = SpecialFrame,
Name = "cmdSpecForce",
ControlType= ID_BUTTON,
BoundRect = {2,2,50,50},
Texture = "GUI/cmdButtons.dds",
Title = "cmdSpecForce",
ToolTip = "Special force",
Rec1STTexture = {0,287+48,47,334+48},
Rec2NDTexture = {0+192,287+48,47+192,334+48},
Rec3RDTexture = {0,287+48+96,47,334+48+96},
Rec4THTexture = {0,287+48,47,334+48},
MESSAGE_MAP = {
{PGUI_INITIALISATION, "INITSPECOP"},
{PGUI_1STBUTTON_CLCK, "SO_SPECF"},
},
};
GUIADDCONTROL {
Parent = SpecialFrame,
Name = "cmdReinforcement",
ControlType= ID_BUTTON,
BoundRect = {2,2,50,50},
Texture = "GUI/cmdButtons.dds",
Title = "cmdReinforcement",
ToolTip = "Reinforcement",
Rec1STTexture = {48,287+48,47+48,334+48},
Rec2NDTexture = {48+192,287+48,47+48+192,334+48},
Rec3RDTexture = {48,287+48+96,47+48,334+48+96},
Rec4THTexture = {48,287+48,47+48,334+48},
MESSAGE_MAP = {
{PGUI_INITIALISATION, "INITSPECOP"},
{PGUI_1STBUTTON_CLCK, "SO_REINF"},
},
};
GUIADDCONTROL {
Parent = SpecialFrame,
Name = "cmdIntelligence",
ControlType= ID_BUTTON,
BoundRect = {2,2,50,50},
Texture = "GUI/cmdButtons.dds",
Title = "cmdIntelligence",
ToolTip = "Intelligence",
Rec1STTexture = {48+48,287+48,47+48+48,334+48},
Rec2NDTexture = {48+48+192,287+48,47+48+48+192,334+48},
Rec3RDTexture = {48+48,287+48+96,47+48+48,334+48+96},
Rec4THTexture = {48+48,287+48,47+48+48,334+48},
MESSAGE_MAP = {
{PGUI_1STBUTTON_CLCK, "SO_INTEL"},
},
};
GUIADDCONTROL {
Parent = SpecialFrame,
Name = "cmdLongRange",
ControlType= ID_BUTTON,
BoundRect = {2,2,50,50},
Texture = "GUI/cmdButtons.dds",
Title = "cmdLongRange",
ToolTip = "Long range missile",
Rec1STTexture = {48+48+48,287+48,47+48+48+48,334+48},
Rec2NDTexture = {48+48+48+192,287+48,47+48+48+48+192,334+48},
Rec3RDTexture = {48+48+48,287+48+96,47+48+48+48,334+48+96},
Rec4THTexture = {48+48+48,287+48,47+48+48+48,334+48},
MESSAGE_MAP = {
{PGUI_1STBUTTON_CLCK, "SO_LONGR"},
},
};
--#############
-- --------------------------- Selection Box ---------------------------
SBox = GUIADDCONTROL {
Parent = id,
Name = "MainSelectionBox",
ControlType= ID_SELECTIONBOX ,
BoundRect = {217-8,31,813-8,183},
Texture = "GUI/ingamegui.dds",
Rec1STTexture = {217-8,31,813-8,183},
};
-- ------------------- before we add any controls to the Selection box --
-- ------------------- we must add three main frames
-- PGUI_SB_GROUPED_FRAME
-- PGUI_SB_UNGROUPED_FRAME
-- PGUI_SB_DETAILED_FRAME
GUIADDCONTROL {
Parent = SBox,
Name = "GroupedSelection",
ControlType= ID_FRAME,
Long2nd = PGUI_SB_GROUPED_FRAME,
BoundRect = {0,0,596,152},
Texture = "GUI/ingamegui.dds",
Rec1STTexture = {217-8,31,813-8,183},
};
GUIADDCONTROL {
Parent = SBox,
Name = "UngroupedSelection",
ControlType= ID_FRAME,
Long2nd = PGUI_SB_UNGROUPED_FRAME,
BoundRect = {0,0,596,152},
Texture = "GUI/ingamegui.dds",
Rec1STTexture = {217-8,31,813-8,183},
};
GUIADDCONTROL {
Parent = SBox,
Name = "DetailedSelection",
ControlType= ID_FRAME,
Long2nd = PGUI_SB_DETAILED_FRAME,
BoundRect = {0+160,0,1023-588+160,153},
Texture = "GUI/ingamegui.dds",
Rec1STTexture = {588,205,1023,358},
};
GUIADDCONTROL {
Parent = SBox,
Name = "HealthTXT",
ControlType= ID_TEXT_BOX,
Long1st = PGUI_SINGLELINE_TEXT ,
Long2nd = PGUI_SB_HEALTH_TEXT ,
BoundRect = {85+3,12+1,194+3,21+1},
Texture = "GUI/ingamegui.dds",
Rec1STTexture = {675,217,784,226},
Res2NDTexture = {577,472,577,472},
FontColor = 4290494599,
FontHeight = PGUI_FONT_HEIGHT,
FontWidth = PGUI_FONT_WIDTH,
};
GUIADDCONTROL {
Parent = SBox,
Name = "ArmourTXT",
ControlType= ID_TEXT_BOX,
Long1st = PGUI_SINGLELINE_TEXT ,
Long2nd = PGUI_SB_ARMOUR_TEXT ,
BoundRect = {85+3,34+1,194+3,43+1},
Texture = "GUI/ingamegui.dds",
Rec1STTexture = {675,217,784,226},
Res2NDTexture = {577,472,577,472},
FontColor = 4290494599,
FontHeight = PGUI_FONT_HEIGHT,
FontWidth = PGUI_FONT_WIDTH,
};
GUIADDCONTROL {
Parent = SBox,
Name = "ViewRangeTXT",
ControlType= ID_TEXT_BOX,
Long1st = PGUI_SINGLELINE_TEXT ,
Long2nd = PGUI_SB_VIEWRANGE_TEXT,
BoundRect = {85+3,56+1,194+3,65+1},
Texture = "GUI/ingamegui.dds",
Rec1STTexture = {675,217,784,226},
Res2NDTexture = {577,472,577,472},
FontColor = 4290494599,
FontHeight = PGUI_FONT_HEIGHT,
FontWidth = PGUI_FONT_WIDTH,
};
GUIADDCONTROL {
Parent = SBox,
Name = "MaxSpeedTXT",
ControlType= ID_TEXT_BOX,
Long1st = PGUI_SINGLELINE_TEXT ,
Long2nd = PGUI_SB_MAXSPEED_TEXT,
BoundRect = {314+3,12+1,424+3,21+1},
Texture = "GUI/ingamegui.dds",
Rec1STTexture = {675,217,784,226},
Res2NDTexture = {577,472,577,472},
FontColor = 4290494599,
FontHeight = PGUI_FONT_HEIGHT,
FontWidth = PGUI_FONT_WIDTH,
};
GUIADDCONTROL {
Parent = SBox,
Name = "VeterancyTXT",
ControlType= ID_TEXT_BOX,
Long1st = PGUI_SINGLELINE_TEXT ,
Long2nd = PGUI_SB_VETERANCY_TEXT,
BoundRect = {314+3,34+1,424+3,43+1},
Texture = "GUI/ingamegui.dds",
Rec1STTexture = {675,217,784,226},
Res2NDTexture = {577,472,577,472},
FontColor = 4290494599,
FontHeight = PGUI_FONT_HEIGHT,
FontWidth = PGUI_FONT_WIDTH,
};
GUIADDCONTROL {
Parent = SBox,
Name = "FireModeTXT",
ControlType= ID_TEXT_BOX,
Long1st = PGUI_SINGLELINE_TEXT ,
Long2nd = PGUI_SB_FIREMODE_TEXT,
BoundRect = {320+3,67+1,424+3,76+1},
Texture = "GUI/ingamegui.dds",
Rec1STTexture = {675,217,784,226},
Res2NDTexture = {577,472,577,472},
FontColor = 4290494599,
FontHeight = PGUI_FONT_HEIGHT,
FontWidth = PGUI_FONT_WIDTH,
};
GUIADDCONTROL {
Parent = SBox,
Name = "MoveModeTXT",
ControlType= ID_TEXT_BOX,
Long1st = PGUI_SINGLELINE_TEXT ,
Long2nd = PGUI_SB_MOVEMODE_TEXT,
BoundRect = {340+3,85+1,424+3,94+1},
Texture = "GUI/ingamegui.dds",
Rec1STTexture = {675,217,784,226},
Res2NDTexture = {577,472,577,472},
FontColor = 4290494599,
FontHeight = PGUI_FONT_HEIGHT,
FontWidth = PGUI_FONT_WIDTH,
};
GUIADDCONTROL {
Parent = SBox,
Name = "Damage1TXT",
ControlType= ID_TEXT_BOX,
Long1st = PGUI_SINGLELINE_TEXT ,
Long2nd = PGUI_SB_WEAPONDMG_1_TEXT,
BoundRect = {137,123+1,207,132+1},
Texture = "GUI/ingamegui.dds",
Rec1STTexture = {727,328,797,337},
Res2NDTexture = {577,472,577,472},
FontColor = 4290494599,
FontHeight = PGUI_FONT_HEIGHT,
FontWidth = PGUI_FONT_WIDTH,
};
GUIADDCONTROL {
Parent = SBox,
Name = "Damage2TXT",
ControlType= ID_TEXT_BOX,
Long1st = PGUI_SINGLELINE_TEXT ,
Long2nd = PGUI_SB_WEAPONDMG_2_TEXT,
BoundRect = {137,138+1,207,147+1},
Texture = "GUI/ingamegui.dds",
Rec1STTexture = {727,328,797,337},
Res2NDTexture = {577,472,577,472},
FontColor = 4290494599,
FontHeight = PGUI_FONT_HEIGHT,
FontWidth = PGUI_FONT_WIDTH,
};
GUIADDCONTROL {
Parent = SBox,
Name = "Range1TXT",
ControlType= ID_TEXT_BOX,
Long1st = PGUI_SINGLELINE_TEXT ,
Long2nd = PGUI_SB_WEAPONRANGE_1_TEXT,
BoundRect = {209,123+1,279,132+1},
Texture = "GUI/ingamegui.dds",
Rec1STTexture = {727,328,797,337},
Res2NDTexture = {577,472,577,472},
FontColor = 4290494599,
FontHeight = PGUI_FONT_HEIGHT,
FontWidth = PGUI_FONT_WIDTH,
};
GUIADDCONTROL {
Parent = SBox,
Name = "Range2TXT",
ControlType= ID_TEXT_BOX,
Long1st = PGUI_SINGLELINE_TEXT ,
Long2nd = PGUI_SB_WEAPONRANGE_2_TEXT,
BoundRect = {209,138+1,279,147+1},
Texture = "GUI/ingamegui.dds",
Rec1STTexture = {727,328,797,337},
Res2NDTexture = {577,472,577,472},
FontColor = 4290494599,
FontHeight = PGUI_FONT_HEIGHT,
FontWidth = PGUI_FONT_WIDTH,
};
GUIADDCONTROL {
Parent = SBox,
Name = "Accuracy1TXT",
ControlType= ID_TEXT_BOX,
Long1st = PGUI_SINGLELINE_TEXT ,
Long2nd = PGUI_SB_WEAPONACC_1_TEXT,
BoundRect = {281,123+1,351,132+1},
Texture = "GUI/ingamegui.dds",
Rec1STTexture = {727,328,797,337},
Res2NDTexture = {577,472,577,472},
FontColor = 4290494599,
FontHeight = PGUI_FONT_HEIGHT,
FontWidth = PGUI_FONT_WIDTH,
};
GUIADDCONTROL {
Parent = SBox,
Name = "Accuracy2TXT",
ControlType= ID_TEXT_BOX,
Long1st = PGUI_SINGLELINE_TEXT ,
Long2nd = PGUI_SB_WEAPONACC_2_TEXT,
BoundRect = {281,138+1,351,147+1},
Texture = "GUI/ingamegui.dds",
Rec1STTexture = {727,328,797,337},
Res2NDTexture = {577,472,577,472},
FontColor = 4290494599,
FontHeight = PGUI_FONT_HEIGHT,
FontWidth = PGUI_FONT_WIDTH,
};
GUIADDCONTROL {
Parent = SBox,
Name = "Ammunition1TXT",
ControlType= ID_TEXT_BOX,
Long1st = PGUI_SINGLELINE_TEXT ,
Long2nd = PGUI_SB_WEAPONAMMO_1_TEXT,
BoundRect = {353,123+1,423,132+1},
Texture = "GUI/ingamegui.dds",
Rec1STTexture = {727,328,797,337},
Res2NDTexture = {577,472,577,472},
FontColor = 4290494599,
FontHeight = PGUI_FONT_HEIGHT,
FontWidth = PGUI_FONT_WIDTH,
};
GUIADDCONTROL {
Parent = SBox,
Name = "Ammunition2TXT",
ControlType= ID_TEXT_BOX,
Long1st = PGUI_SINGLELINE_TEXT ,
Long2nd = PGUI_SB_WEAPONAMMO_2_TEXT,
BoundRect = {353,138+1,423,147+1},
Texture = "GUI/ingamegui.dds",
Rec1STTexture = {727,328,797,337},
Res2NDTexture = {577,472,577,472},
FontColor = 4290494599,
FontHeight = PGUI_FONT_HEIGHT,
FontWidth = PGUI_FONT_WIDTH,
};
GUIADDCONTROL {
Parent = SBox,
Name = "HealthBAR",
ControlType= ID_PROGRESSBAR,
Long2nd = PGUI_SB_HEALTH_BAR ,
BoundRect = {85+3,8+1,194+3,10+1},
Texture = "GUI/ingamegui.dds",
Rec1STTexture = {675,213,784,215},
Rec2NDTexture = {165,364,274,366},
FontColor = 4290494599,
FontHeight = PGUI_FONT_HEIGHT,
FontWidth = PGUI_FONT_WIDTH,
};
GUIADDCONTROL {
Parent = SBox,
Name = "ArmourBAR",
ControlType= ID_PROGRESSBAR,
Long2nd = PGUI_SB_ARMOUR_BAR ,
BoundRect = {85+3,30+1,194+3,32+1},
Texture = "GUI/ingamegui.dds",
Rec1STTexture = {675,213,784,215},
Rec2NDTexture = {165,364,274,366},
FontColor = 4290494599,
FontHeight = PGUI_FONT_HEIGHT,
FontWidth = PGUI_FONT_WIDTH,
};
GUIADDCONTROL {
Parent = SBox,
Name = "ViewRangeBAR",
ControlType= ID_PROGRESSBAR,
Long2nd = PGUI_SB_VIEWRANGE_BAR,
BoundRect = {85+3,52+1,194+3,54+1},
Texture = "GUI/ingamegui.dds",
Rec1STTexture = {675,213,784,215},
Rec2NDTexture = {165,364,274,366},
FontColor = 4290494599,
FontHeight = PGUI_FONT_HEIGHT,
FontWidth = PGUI_FONT_WIDTH,
};
GUIADDCONTROL {
Parent = SBox,
Name = "MaxSpeedBAR",
ControlType= ID_PROGRESSBAR,
Long2nd = PGUI_SB_MAXSPEED_BAR,
BoundRect = {314+3,8+1,424+3,10+1},
Texture = "GUI/ingamegui.dds",
Rec1STTexture = {675,213,784,215},
Rec2NDTexture = {165,364,274,366},
FontColor = 4290494599,
FontHeight = PGUI_FONT_HEIGHT,
FontWidth = PGUI_FONT_WIDTH,
};
GUIADDCONTROL {
Parent = SBox,
Name = "VeterancyBAR",
ControlType= ID_PROGRESSBAR,
Long2nd = PGUI_SB_VETERANCY_BAR,
BoundRect = {314+3,30+1,424+3,32+1},
Texture = "GUI/ingamegui.dds",
Rec1STTexture = {675,213,784,215},
Rec2NDTexture = {165,364,274,366},
FontColor = 4290494599,
FontHeight = PGUI_FONT_HEIGHT,
FontWidth = PGUI_FONT_WIDTH,
};
GUIADDCONTROL {
Parent = SBox,
Name = "Damage1BAR",
ControlType= ID_PROGRESSBAR,
Long2nd = PGUI_SB_WEAPONDMG_1ST,
BoundRect = {137+3,119+1,207+3,121+1},
Texture = "GUI/ingamegui.dds",
Rec1STTexture = {727,324,797,326},
Rec2NDTexture = {165,364,234,366},
FontColor = 4290494599,
FontHeight = PGUI_FONT_HEIGHT,
FontWidth = PGUI_FONT_WIDTH,
};
GUIADDCONTROL {
Parent = SBox,
Name = "Damage2BAR",
ControlType= ID_PROGRESSBAR,
Long2nd = PGUI_SB_WEAPONDMG_2ND,
BoundRect = {137+3,134+1,207+3,136+1},
Texture = "GUI/ingamegui.dds",
Rec1STTexture = {727,324,797,326},
Rec2NDTexture = {165,364,234,366},
FontColor = 4290494599,
FontHeight = PGUI_FONT_HEIGHT,
FontWidth = PGUI_FONT_WIDTH,
};
GUIADDCONTROL {
Parent = SBox,
Name = "Range1BAR",
ControlType= ID_PROGRESSBAR,
Long2nd = PGUI_SB_WEAPONRANGE_1ST,
BoundRect = {209+3,119+1,279+3,121+1},
Texture = "GUI/ingamegui.dds",
Rec1STTexture = {727,324,797,326},
Rec2NDTexture = {165,364,234,366},
FontColor = 4290494599,
FontHeight = PGUI_FONT_HEIGHT,
FontWidth = PGUI_FONT_WIDTH,
};
GUIADDCONTROL {
Parent = SBox,
Name = "Range2BAR",
ControlType= ID_PROGRESSBAR,
Long2nd = PGUI_SB_WEAPONRANGE_2ND,
BoundRect = {209+3,134+1,279+3,136+1},
Texture = "GUI/ingamegui.dds",
Rec1STTexture = {727,324,797,326},
Rec2NDTexture = {165,364,234,366},
FontColor = 4290494599,
FontHeight = PGUI_FONT_HEIGHT,
FontWidth = PGUI_FONT_WIDTH,
};
GUIADDCONTROL {
Parent = SBox,
Name = "Accuracy1BAR",
ControlType= ID_PROGRESSBAR,
Long2nd = PGUI_SB_WEAPONACC_1ST,
BoundRect = {281+3,119+1,351+3,121+1},
Texture = "GUI/ingamegui.dds",
Rec1STTexture = {727,324,797,326},
Rec2NDTexture = {165,364,234,366},
FontColor = 4290494599,
FontHeight = PGUI_FONT_HEIGHT,
FontWidth = PGUI_FONT_WIDTH,
};
GUIADDCONTROL {
Parent = SBox,
Name = "Accuracy2BAR",
ControlType= ID_PROGRESSBAR,
Long2nd = PGUI_SB_WEAPONACC_2ND,
BoundRect = {281+3,134+1,351+3,136+1},
Texture = "GUI/ingamegui.dds",
Rec1STTexture = {727,324,797,326},
Rec2NDTexture = {165,364,234,366},
FontColor = 4290494599,
FontHeight = PGUI_FONT_HEIGHT,
FontWidth = PGUI_FONT_WIDTH,
};
GUIADDCONTROL {
Parent = SBox,
Name = "Ammunition1BAR",
ControlType= ID_PROGRESSBAR,
Long2nd = PGUI_SB_WEAPONAMMO_1ST,
BoundRect = {353+3,119+1,423+3,121+1},
Texture = "GUI/ingamegui.dds",
Rec1STTexture = {727,324,797,326},
Rec2NDTexture = {165,364,234,366},
FontColor = 4290494599,
FontHeight = PGUI_FONT_HEIGHT,
FontWidth = PGUI_FONT_WIDTH,
};
GUIADDCONTROL {
Parent = SBox,
Name = "Ammunition2BAR",
ControlType= ID_PROGRESSBAR,
Long2nd = PGUI_SB_WEAPONAMMO_2ND,
BoundRect = {353+3,134+1,423+3,136+1},
Texture = "GUI/ingamegui.dds",
Rec1STTexture = {727,324,797,326},
Rec2NDTexture = {165,364,234,366},
FontColor = 4290494599,
FontHeight = PGUI_FONT_HEIGHT,
FontWidth = PGUI_FONT_WIDTH,
};
GUIADDCONTROL {
Parent = SBox,
Name = "BigPicture",
ControlType= ID_PICTURE_BOX ,
Long2nd = PGUI_SB_BIG_PCT ,
BoundRect = {-156,0,160-156,153},
Texture = "GUI/uniticonsbig.dds",
Rec1STTexture = {0,0,160,153},
FontColor = 4290494599,
FontHeight = 13,
FontWidth = 8,
};
GUIADDCONTROL {
Parent = SBox,
Name = "SmallPicture",
ControlType= ID_PICTURE_BOX ,
Long2nd = PGUI_SB_SMALL_PCT ,
BoundRect = {0+74,0,73+74,63},
Texture = "GUI/uniticons.dds",
Rec1STTexture = {0,0,74,64},
FontColor = 4294967040,
};
-- -----------------------------------------------------------------------
GUIADDCONTROL {
Parent = id,
Name = "1Nazad",
ControlType= ID_BUTTON,
BoundRect = {182, 660-563, 201, 683-563},
Texture = "GUI/ingamegui.dds",
Title = "1Back",
Rec1STTexture = {182, 660-563, 201, 683-563},
Rec2NDTexture = {471, 206, 490, 229},
Rec3RDTexture = {471, 278, 490, 301},
Rec4THTexture = {471, 278, 490, 301},
MESSAGE_MAP = {
{PGUI_1STBUTTON_CLCK , "STEPBACK", 0, 14},
},
};
GUIADDCONTROL {
Parent = id,
Name = "2Nazad",
ControlType= ID_BUTTON,
BoundRect = {182, 686-563, 201, 709-563},
Texture = "GUI/ingamegui.dds",
Title = "2Back",
Rec1STTexture = {182, 686-563, 201, 709-563},
Rec2NDTexture = {471, 230, 490, 253},
Rec3RDTexture = {471, 302, 490, 325},
Rec4THTexture = {471, 302, 490, 325},
MESSAGE_MAP = {
{PGUI_1STBUTTON_CLCK , "STEPBACK", 3, 14},
},
};
-----------------------------------------------------------------------------
-------------- escape gui --------------------------------------------------
id3=GUIADDCONTROL {
Parent = 0,
Name = "Frame",
ControlType= ID_FRAME,
BoundRect = {434,148,589,444},
Texture = "GUI/InGameMenu.dds",
Rec1STTexture = {201,0,355,296},
MESSAGE_MAP = {
{PGUI_INITIALISATION , "ESCINIT"},
},
};
GUIADDCONTROL {
Parent = id3,
Name = "Resume",
ControlType= ID_BUTTON,
BoundRect = {477-434,282-248,586-434,311-248},
Texture = "GUI/InGameMenu.dds",
Title = "Button 31",
Rec1STTexture = {0,250,1,251},
Rec2NDTexture = {354,174+29,464,203+29},
Rec3RDTexture = {0,250,1,251},
Rec4THTexture = {0,250,1,251},
MESSAGE_MAP = {
{PGUI_1STBUTTON_CLCK , "EscapeEscape"},
},
};
GUIADDCONTROL {
Parent = id3,
Name = "Restart",
ControlType= ID_BUTTON,
BoundRect = {477-434,330-248,586-434,359-248},
Texture = "GUI/InGameMenu.dds",
Title = "Button 31",
Rec1STTexture = {0,250,1,251},
Rec2NDTexture = {354,87,464,116},
Rec3RDTexture = {0,250,1,251},
Rec4THTexture = {0,250,1,251},
MESSAGE_MAP = {
{PGUI_1STBUTTON_CLCK , "RESTART"},
},
};
GUIADDCONTROL {
Parent = id3,
Name = "Options",
ControlType= ID_BUTTON,
BoundRect = {477-434,426-248,586-434,455-248},
Texture = "GUI/InGameMenu.dds",
Title = "Button 32",
Rec1STTexture = {0,250,1,251},
Rec2NDTexture = {354,145,464,174},
Rec3RDTexture = {0,250,1,251},
Rec4THTexture = {0,250,1,251},
MESSAGE_MAP = {
{PGUI_1STBUTTON_CLCK , "OPTIONS"},
},
};
GUIADDCONTROL {
Parent = id3,
Name = "MainMenu",
ControlType= ID_BUTTON,
BoundRect = {477-434,378-248,586-434,407-248},
Texture = "GUI/InGameMenu.dds",
Title = "Button 32",
Rec1STTexture = {0,250,1,251},
Rec2NDTexture = {354,116,464,145},
Rec3RDTexture = {0,250,1,251},
Rec4THTexture = {0,250,1,251},
MESSAGE_MAP = {
{PGUI_1STBUTTON_CLCK , "MAINMENU"},
},
};
GUIADDCONTROL {
Parent = id3,
Name = "Exit",
ControlType= ID_BUTTON,
BoundRect = {477-434,426-200,586-434,455-200},
Texture = "GUI/InGameMenu.dds",
Title = "Button 32",
Rec1STTexture = {0,250,1,251},
Rec2NDTexture = {354,174,464,203},
Rec3RDTexture = {0,250,1,251},
Rec4THTexture = {0,250,1,251},
MESSAGE_MAP = {
{PGUI_1STBUTTON_CLCK , "QUITDEMO"},
},
};
-------------------------------------------------------------------------
--------------- mission success ----------------------------------------
id2=GUIADDCONTROL {
Parent = 0,
Name = "Report",
ControlType= ID_FRAME,
BoundRect = {386,312,637,434},
Texture = "GUI/mission.dds",
Rec1STTexture = {0,0,1,1},
MESSAGE_MAP = {
{PGUI_INITIALISATION , "MISSION"},
},
};
id33 = GUIADDCONTROL {
Parent = id2,
Name = "Success",
ControlType= ID_PICTURE_BOX,
BoundRect = {386-386,312-312,637-386,434-312},
Texture = "GUI/mission.dds",
Title = "Success",
Rec1STTexture = {0,0,251,122},
Rec2NDTexture = {0,0,251,122},
Rec3RDTexture = {0,0,251,122},
Rec4THTexture = {0,0,251,122},
MESSAGE_MAP = {
{PGUI_INITIALISATION , "MISSION"},
},
};
id234 = GUIADDCONTROL {
Parent = id2,
Name = "Failed",
ControlType= ID_PICTURE_BOX,
BoundRect = {386-386,312-312,637-386,434-312},
Texture = "GUI/mission.dds",
Title = "Failed",
Rec1STTexture = {251,0,512,122},
Rec2NDTexture = {251,0,512,122},
Rec3RDTexture = {251,0,512,122},
Rec4THTexture = {251,0,512,122},
MESSAGE_MAP = {
{PGUI_INITIALISATION , "MISSION"},
},
};
GUIADDCONTROL {
Parent = id33,
Name = "OK",
ControlType= ID_BUTTON,
BoundRect = {541-386,386-312,618-386,415-312},
Texture = "GUI/mission.dds",
Title = "Button ok suc",
Rec1STTexture = {541-386,386-312,618-386,415-312},
Rec2NDTexture = {109,122,186,151},
Rec3RDTexture = {541-386,386-312,618-386,415-312},
Rec4THTexture = {541-386,386-312,618-386,415-312},
MESSAGE_MAP = {
{PGUI_1STBUTTON_CLCK , "MAINMENU2"},
},
};
GUIADDCONTROL {
Parent = id33,
Name = "Restart",
ControlType= ID_BUTTON,
BoundRect = {413-386,386-312,522-386,415-312},
Texture = "GUI/mission.dds",
Title = "Button res suc",
Rec1STTexture = {413-386,386-312,522-386,415-312},
Rec2NDTexture = {0,122,109,151},
Rec3RDTexture = {413-386,386-312,522-386,415-312},
Rec4THTexture = {413-386,386-312,522-386,415-312},
MESSAGE_MAP = {
{PGUI_1STBUTTON_CLCK , "RESTART"},
},
};
GUIADDCONTROL {
Parent = id234,
Name = "OK2",
ControlType= ID_BUTTON,
BoundRect = {541-386-6,386-312,618-386-6,415-312},
Texture = "GUI/mission.dds",
Title = "Button ok fai",
Rec1STTexture = {541-386,386-312,618-386,415-312},
Rec2NDTexture = {109,122,186,151},
Rec3RDTexture = {541-386,386-312,618-386,415-312},
Rec4THTexture = {541-386,386-312,618-386,415-312},
MESSAGE_MAP = {
{PGUI_1STBUTTON_CLCK , "MAINMENU3"},
},
};
GUIADDCONTROL {
Parent = id234,
Name = "Restart2",
ControlType= ID_BUTTON,
BoundRect = {413-386-2,386-312,522-386-2,415-312},
Texture = "GUI/mission.dds",
Title = "Button re fail",
Rec1STTexture = {413-386,386-312,522-386,415-312},
Rec2NDTexture = {0,122,109,151},
Rec3RDTexture = {413-386,386-312,522-386,415-312},
Rec4THTexture = {413-386,386-312,522-386,415-312},
MESSAGE_MAP = {
{PGUI_1STBUTTON_CLCK , "RESTART"},
},
};
GUIADDCONTROL {
Parent = 0,
Name = "Voice",
ControlType= ID_FRAME,
BoundRect = {0,0,291,63},
Texture = "GUI/ingamegui.dds",
Rec1STTexture = {732,358,1023,421},
MESSAGE_MAP = {
{PGUI_INITIALISATION , "VOICEFRAME"},
},
};
GUIADDCONTROL {
Parent = 0,
Name = "Mission",
ControlType= ID_FRAME,
BoundRect = {-237,0+70,0,132+70},
Texture = "GUI/missionTEXT_01.DDS",
Rec1STTexture = {0,0,236,132},
MESSAGE_MAP = {
{PGUI_INITIALISATION , "MISSIONDFRAME"},
},
};
-------------------------------------------------------------------------
-------------------------------------------------------------------------
-- Parent = ,
-- Name = ,
-- ControlType= ,
-- MessageParentID = ,
-- BoundRect = {0,0,32,32},
-- SecRect = {0,0,0,32},
-- Title = "",
-- FontHeight = 18,
-- FontWidth = 20,
-- Long1st =,
-- Long2nd =,
-- Float1st =,
-- Float2nd =,
-- FontColor =,
-- Texture =,
-- Rec1STTexture =,
-- Rec2NDTexture =,
-- Rec3RDTexture =,
-- Rec4THTexture =,
-- Rec5THTexture =,
-- Rec6THTexture =,
-- Rec7THTexture =,
-- Rec8THTexture =,